package com.ruoyi.paper.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 实训试题库对象 exam_lib
 * 
 * @author ruoyi
 * @date 2025-04-14
 */
public class ExamLib extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 试题id */
    private String examLibId;

    /**  */
    @Excel(name = "知识点")
    private String serviceType;

    /**  */
    @Excel(name = "模拟类型")
    private String practiseProc;

    /** 0:单选题；1：多选题；2：不定项题；3：主观题 */
    @Excel(name = "0:单选题；1：多选题；2：不定项题；3：主观题")
    private String questionType;

    /**  */
    @Excel(name = "题干")
    private String questionBody;

    /**  */
    @Excel(name = "参考答案")
    private String refAnswer;

    /**  */
    @Excel(name = "答案解析")
    private String explanation;

    /** 被选中次数 */
    @Excel(name = "被选中次数")
    private Long num;

    /** 共享状态 */
    @Excel(name = "共享状态")
    private String sharedStatus;

    /** 所有者 */
    @Excel(name = "所有者")
    private String owner;

    public void setExamLibId(String examLibId) 
    {
        this.examLibId = examLibId;
    }

    public String getExamLibId() 
    {
        return examLibId;
    }

    public void setServiceType(String serviceType) 
    {
        this.serviceType = serviceType;
    }

    public String getServiceType() 
    {
        return serviceType;
    }

    public void setPractiseProc(String practiseProc) 
    {
        this.practiseProc = practiseProc;
    }

    public String getPractiseProc() 
    {
        return practiseProc;
    }

    public void setQuestionType(String questionType) 
    {
        this.questionType = questionType;
    }

    public String getQuestionType() 
    {
        return questionType;
    }

    public void setQuestionBody(String questionBody) 
    {
        this.questionBody = questionBody;
    }

    public String getQuestionBody() 
    {
        return questionBody;
    }

    public void setRefAnswer(String refAnswer) 
    {
        this.refAnswer = refAnswer;
    }

    public String getRefAnswer() 
    {
        return refAnswer;
    }

    public void setExplanation(String explanation) 
    {
        this.explanation = explanation;
    }

    public String getExplanation() 
    {
        return explanation;
    }

    public void setNum(Long num) 
    {
        this.num = num;
    }

    public Long getNum() 
    {
        return num;
    }

    public void setSharedStatus(String sharedStatus) 
    {
        this.sharedStatus = sharedStatus;
    }

    public String getSharedStatus() 
    {
        return sharedStatus;
    }

    public void setOwner(String owner) 
    {
        this.owner = owner;
    }

    public String getOwner() 
    {
        return owner;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("examLibId", getExamLibId())
            .append("serviceType", getServiceType())
            .append("practiseProc", getPractiseProc())
            .append("questionType", getQuestionType())
            .append("questionBody", getQuestionBody())
            .append("refAnswer", getRefAnswer())
            .append("explanation", getExplanation())
            .append("num", getNum())
            .append("sharedStatus", getSharedStatus())
            .append("owner", getOwner())
            .toString();
    }
}
